package com.example.test1;

import android.app.AlertDialog;
import android.app.Dialog;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;

public class CofirmationDialog extends DialogFragment  {
	
	@Override
    public Dialog onCreateDialog(Bundle savedInstanceState) {
        // Use the Builder class for convenient dialog construction
        AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
        builder.setMessage(R.string.sent_message)
        		.setPositiveButton(R.string.ok, null);
        // Create the AlertDialog object and return it
        return builder.create();
    }

}
